package com.golte.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import java.util.List;

/**
 * @version V1.0
 * @description: 用户查询
 * @author: chenhuan
 * @date: 2021/5/28
 **/
@Data
@Builder
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("IDM-用户查询")
public class UserReqDto {

    @ApiModelProperty(value = "用户工号", dataType = "String")
    @NotBlank(message = "缺少用户工号")
    private String userCode;

    @ApiModelProperty(value = "用户工号列表", dataType = "String")
    List<String> users;

    @ApiModelProperty(value = "系統來源", dataType = "String")
    String source;
}

